/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package nz.ac.massey.softwarec.group3.actions;
import nz.ac.massey.softwarec.group3.game.Game;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author wanting
*/
public class DataGetterInterfaceTest {
public DataGetterInterfaceTest() {
}
@Before
public void setUp() {
}
@After
public void tearDown() {
}
/**
* Test of getGameData method, of class DataGetterInterface.
*/
@Test
public void testGetGameData() {
System.out.println("getGameData");
Game game = null;
DataGetterInterface instance = new DataGetterInterfaceImpl();
String expResult = "";
String result = instance.getGameData(game);
assertEquals(expResult, result);
}
/**
* Test of getLobbyData method, of class DataGetterInterface.
*/
@Test
public void testGetLobbyData() {
System.out.println("getLobbyData");
DataGetterInterface instance = new DataGetterInterfaceImpl();
String expResult = "";
String result = instance.getLobbyData();
assertEquals(expResult, result);
}
/**
* Test of getGamesData method, of class DataGetterInterface.
*/
@Test
public void testGetGamesData() {
System.out.println("getGamesData");
DataGetterInterface instance = new DataGetterInterfaceImpl();
String expResult = "";
String result = instance.getGamesData();
assertEquals(expResult, result);
}
/**
* Test of getGamePlayersData method, of class DataGetterInterface.
*/
@Test
public void testGetGamePlayersData() {
System.out.println("getGamePlayersData");
Game game = null;
DataGetterInterface instance = new DataGetterInterfaceImpl();
String expResult = "";
String result = instance.getGamePlayersData(game);
assertEquals(expResult, result);
}
/**
* Test of getOpenTokData method, of class DataGetterInterface.
*/
@Test
public void testGetOpenTokData() {
System.out.println("getOpenTokData");
Game game = null;
DataGetterInterface instance = new DataGetterInterfaceImpl();
String expResult = "";
String result = instance.getOpenTokData(game);
assertEquals(expResult, result);
;
}
/**
* Test of getMapData method, of class DataGetterInterface.
*/
@Test
public void testGetMapData() {
System.out.println("getMapData");
Game game = null;
DataGetterInterface instance = new DataGetterInterfaceImpl();
String expResult = "";
String result = instance.getMapData(game);
assertEquals(expResult, result);
}
public class DataGetterInterfaceImpl implements DataGetterInterface {
public String getGameData(Game game) {
return "";
}
public String getLobbyData() {
return "";
}
public String getGamesData() {
return "";
}
public String getGamePlayersData(Game game) {
return "";
}
public String getOpenTokData(Game game) {
return "";
}
public String getMapData(Game game) {
return "";
}
}
}